package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.HgtcrawlersMapper;
import com.ruoyi.system.domain.Hgtcrawlers;
import com.ruoyi.system.service.IHgtcrawlersService;

/**
 * 招标信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-26
 */
@Service
public class HgtcrawlersServiceImpl implements IHgtcrawlersService 
{
    @Autowired
    private HgtcrawlersMapper hgtcrawlersMapper;

    /**
     * 查询招标信息
     * 
     * @param id 招标信息主键
     * @return 招标信息
     */
    @Override
    public Hgtcrawlers selectHgtcrawlersById(String id)
    {
        return hgtcrawlersMapper.selectHgtcrawlersById(id);
    }

    /**
     * 查询招标信息列表
     * 
     * @param hgtcrawlers 招标信息
     * @return 招标信息
     */
    @Override
    public List<Hgtcrawlers> selectHgtcrawlersList(Hgtcrawlers hgtcrawlers)
    {
        return hgtcrawlersMapper.selectHgtcrawlersList(hgtcrawlers);
    }

    /**
     * 新增招标信息
     * 
     * @param hgtcrawlers 招标信息
     * @return 结果
     */
    @Override
    public int insertHgtcrawlers(Hgtcrawlers hgtcrawlers)
    {
        return hgtcrawlersMapper.insertHgtcrawlers(hgtcrawlers);
    }

    /**
     * 修改招标信息
     * 
     * @param hgtcrawlers 招标信息
     * @return 结果
     */
    @Override
    public int updateHgtcrawlers(Hgtcrawlers hgtcrawlers)
    {
        return hgtcrawlersMapper.updateHgtcrawlers(hgtcrawlers);
    }

    /**
     * 批量删除招标信息
     * 
     * @param ids 需要删除的招标信息主键
     * @return 结果
     */
    @Override
    public int deleteHgtcrawlersByIds(String[] ids)
    {
        return hgtcrawlersMapper.deleteHgtcrawlersByIds(ids);
    }

    /**
     * 删除招标信息信息
     * 
     * @param id 招标信息主键
     * @return 结果
     */
    @Override
    public int deleteHgtcrawlersById(String id)
    {
        return hgtcrawlersMapper.deleteHgtcrawlersById(id);
    }
}
